<style type="text/css">
    .sm-st {
        background: #fff;
        padding: 20px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        margin-bottom: 20px;
    }

    .sm-st-icon {
        width: 60px;
        height: 60px;
        display: inline-block;
        line-height: 60px;
        text-align: center;
        font-size: 30px;

        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: left;
        margin-right: 10px;
        color: #fff;
    }

    .sm-st-info {
        padding-top: 2px;
    }

    .sm-st-info span {
        display: block;
        font-size: 24px;
        font-weight: 600;
    }

    .orange {
        background: #fa8564 !important;
    }

    .tar {
        background: #45cf95 !important;
    }

    .sm-st .green {
        background: #86ba41 !important;
    }

    .pink {
        background: #AC75F0 !important;
    }

    .yellow-b {
        background: #fdd752 !important;
    }

    .stat-elem {

        background-color: #fff;
        padding: 18px;
        border-radius: 40px;

    }

    .stat-info {
        text-align: center;
        background-color: #fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        font-style: italic;
    }

    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }

    .st-red {
        background-color: #F05050;
    }

    .st-green {
        background-color: #27C24C;
    }

    .st-violet {
        background-color: #7266ba;
    }

    .st-blue {
        background-color: #23b7e5;
    }

    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float: left;
    }

    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }

    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 5px 0;
    }

    .stat.lg .value {
        font-size: 26px;
        line-height: 28px;
    }

    .stat-col {
        margin: 0 0 10px 0;
    }

    .stat.lg .name {
        font-size: 16px;
    }

    .stat-col .progress {
        height: 2px;
    }

    .stat-col .progress-bar {
        line-height: 2px;
        height: 2px;
    }

    .item {
        padding: 30px 0;
    }


    #statistics .panel {
        min-height: 150px;
    }

    #statistics .panel h5 {
        font-size: 14px;
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null, false)}
        <ul class="nav nav-tabs">
            <li class="active"><a href="#one" data-toggle="tab">{:__('Dashboard')}</a></li>
            <!-- <li><a href="#two" data-toggle="tab">{:__('Custom')}</a></li> -->
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">

                <div class="row">
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon"><img
                                    src="https://img.alicdn.com/imgextra/i1/2421623496/O1CN01RkdPqx1bhDIdCESBY_!!2421623496.png"
                                    width="64px"></span>
                            <div class="sm-st-info">
                                <span>{$totaluser}</span>
                                {:__('Total user')}
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon"><img
                                    src="https://img.alicdn.com/imgextra/i2/2421623496/O1CN017AXhwH1bhDIljykij_!!2421623496.png"
                                    width="64px"></span>
                            <div class="sm-st-info">
                                <span>{$totaladdon}</span>
                                {:__('总订单数')}
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon"><img
                                    src="https://img.alicdn.com/imgextra/i3/2421623496/O1CN01nkXhSd1bhDIhubLHD_!!2421623496.png"
                                    width="64px"></span>
                            <div class="sm-st-info">
                                <span>{$attachmentnums}</span>
                                {:__('总交易额')}
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3 col-xs-6">
                        <div class="sm-st clearfix">
                            <span class="sm-st-icon"><img
                                    src="https://img.alicdn.com/imgextra/i1/2421623496/O1CN01kCFIZZ1bhDIoltHB2_!!2421623496.png"
                                    width="64px"></span>
                            <div class="sm-st-info">
                                <span>{$totaladmin}</span>
                                {:__('余额')}
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-lg-8">
                        <div id="echart" class="btn-refresh" style="height:300px;width:100%;"></div>
                    </div>
                    <div class="col-lg-4">
                        <div class="card sameheight-item stats">
                            <div class="card-block">
                                <div class="row row-sm stats-container">
                                    <div class="col-xs-6 stat-col">
                                        <div class="stat-icon"><i class="fa fa-rocket"></i></div>
                                        <div class="stat">
                                            <div class="value"> {$todayusersignup}</div>
                                            <div class="name"> 今日订单数</div>
                                        </div>
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-success" style="width: 20%"></div>
                                        </div>
                                    </div>
                                    <div class="col-xs-6 stat-col">
                                        <div class="stat-icon"><i class="fa fa-vcard"></i></div>
                                        <div class="stat">
                                            <div class="value"> {$todayuserlogin}</div>
                                            <div class="name"> 今日交易额</div>
                                        </div>
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-success" style="width: 20%"></div>
                                        </div>
                                    </div>
                                    <div class="col-xs-6  stat-col">
                                        <div class="stat-icon"><i class="fa fa-calendar"></i></div>
                                        <div class="stat">
                                            <div class="value"> {$threednu}</div>
                                            <div class="name"> 昨日订单数</div>
                                        </div>
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-success" style="width: 20%"></div>
                                        </div>
                                    </div>
                                    <div class="col-xs-6 stat-col">
                                        <div class="stat-icon"><i class="fa fa-calendar-plus-o"></i></div>
                                        <div class="stat">
                                            <div class="value"> {$sevendnu}</div>
                                            <div class="name"> 昨日交易额</div>
                                        </div>
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-success" style="width: 20%"></div>
                                        </div>
                                    </div>
                                    <div class="col-xs-6  stat-col">
                                        <div class="stat-icon"><i class="fa fa-user-circle"></i></div>
                                        <div class="stat">
                                            <div class="value"> {$sevendau}</div>
                                            <div class="name"> 一周订单数</div>
                                        </div>
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-success" style="width: 20%"></div>
                                        </div>
                                    </div>
                                    <div class="col-xs-6  stat-col">
                                        <div class="stat-icon"><i class="fa fa-user-circle-o"></i></div>
                                        <div class="stat">
                                            <div class="value"> {$thirtydau}</div>
                                            <div class="name"> 一周交易额</div>
                                        </div>
                                        <div class="progress">
                                            <div class="progress-bar progress-bar-success" style="width: 20%"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row app_database_row" style="margin:15px 0;">
                    <div class="col-xs-12 col-md-3">
                        <div class="bg-style01">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <span class="label label-success pull-right">本月订单数</span>
                                    <h5>本月订单数 <i class="fa fa-question-circle" data-toggle="tooltip"></i>
                                    </h5>
                                </div>
                                <div class="ibox-content">
                                    <h1 class="no-margins"><i class="fa fa-cny"></i>
                                        {$num1}</h1>

                                    <small>上月订单数 <i class="fa fa-question-circle" data-toggle="tooltip"></i>
                                    </small>
                                    <div class="stat-percent font-bold"><i class="fa fa-cny"></i>
                                        {$num3}</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-12 col-md-3">
                        <div class="bg-style02">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <span class="label label-info pull-right">本月交易额</span>
                                    <h5>本月交易额 <i class="fa fa-question-circle" data-toggle="tooltip"></i>
                                    </h5>
                                </div>
                                <div class="ibox-content">
                                    <h1 class="no-margins"><i class="fa fa-cny"></i>
                                        {$num2}</h1>

                                    <small>上月交易额 <i class="fa fa-question-circle" data-toggle="tooltip"></i>
                                    </small>
                                    <div class="stat-percent font-bold"><i class="fa fa-cny"></i>
                                        {$num4}</div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12 col-md-3">
                        <div class="bg-style03">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <span class="label label-info pull-right">本月用户数</span>
                                    <h5>本月用户数</h5>
                                </div>
                                <div class="ibox-content">
                                    <h1 class="no-margins"><i class="fa fa-vimeo"></i> {$num5}</h1>

                                    <small>上月用户数</small>
                                    <div class="stat-percent font-bold"><i class="fa fa-shopping-bag"></i>
                                        {$num6}</div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12 col-md-3">
                        <div class="bg-style04">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <span class="label label-info pull-right">订单数对比</span>
                                    <h5>快充订单数</h5>
                                </div>
                                <div class="ibox-content">
                                    <h1 class="no-margins"><i class="fa fa-users"> </i> {$num7}</h1>
                                    <small>慢充订单数</small>
                                    <div class="stat-percent font-bold"><i class="fa fa-users"> </i>
                                        {$num8}</div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- <div class="col-xs-12 col-md-3">
                        <div class="bg-style07">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <span class="label label-success pull-right">预估佣金</span>
                                    <h5>上月联盟预估佣金 <i class="fa fa-question-circle" data-toggle="tooltip"
                                            data-title="收货时间在上月的订单预估佣金，每月1号统计"></i>
                                    </h5>
                                </div>
                                <div class="ibox-content">
                                    <h1 class="no-margins"><i class="fa fa-cny"></i>
                                        2 166.19</h1>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-12 col-md-3">
                        <div class="bg-style06">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <span class="label label-info pull-right">累计余额</span>
                                    <h5>上月会员累计余额 <i class="fa fa-question-circle" data-toggle="tooltip"
                                            data-title="上月会员累计余额"></i>
                                    </h5>
                                </div>
                                <div class="ibox-content">
                                    <h1 class="no-margins"><i class="fa fa-cny"></i>
                                        2 506.85</h1>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12 col-md-3">
                        <div class="bg-style05">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <span class="label label-info pull-right">累计提现</span>
                                    <h5>上月会员累计提现 <i class="fa fa-question-circle" data-toggle="tooltip"
                                            data-title="审核通过时间在上月的余额提现总金额"></i></h5>
                                </div>
                                <div class="ibox-content">
                                    <h1 class="no-margins"><i class="fa fa-credit-card"></i>
                                        4 937.66</h1>

                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12 col-md-3">
                        <div class="bg-style08">
                            <div class="panel-body">
                                <div class="ibox-title">
                                    <span class="label label-info pull-right">累计提现</span>
                                    <h5>上上月会员累计提现 <i class="fa fa-question-circle" data-toggle="tooltip"
                                            data-title="审核通过时间在上上月的余额提现总金额"></i></h5>
                                </div>
                                <div class="ibox-content">
                                    <h1 class="no-margins"><i class="fa fa-credit-card"> </i>
                                        121.38</h1>
                                </div>
                            </div>
                        </div>
                    </div> -->

                </div>
                <div class="tab-pane fade" id="two">
                    <div class="row">
                        <div class="col-xs-12">
                            {:__('Custom zone')}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>